package com.example.demo.controller;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 非机动车上报
 *
 * @author binYan
 * @date 2023-07-06 19:56
 **/
@NoArgsConstructor
@Data
public class NonMotorVehicleDTO {
    @JsonProperty("NonMotorVehicleListObject")
    private NonMotorVehicleListObjectDTO nonMotorVehicleListObject;

    @NoArgsConstructor
    @Data
    public static class NonMotorVehicleListObjectDTO {
        @JsonProperty("NonMotorVehicleObject")
        private List<NonMotorVehicleObjectDTO> nonMotorVehicleObject;

        @NoArgsConstructor
        @Data
        public static class NonMotorVehicleObjectDTO {
            @JsonProperty("NonMotorVehicleID")
            private String nonMotorVehicleID;
            @JsonProperty("InfoKind")
            private Integer infoKind;
            @JsonProperty("SourceID")
            private String sourceID;
            @JsonProperty("HasPlate")
            private String hasPlate;
            @JsonProperty("PlateClass")
            private String plateClass;
            @JsonProperty("PlateColor")
            private String plateColor;
            @JsonProperty("PlateNo")
            private String plateNo;
            @JsonProperty("VehicleColor")
            private String vehicleColor;
            @JsonProperty("DeviceID")
            private String deviceID;
            @JsonProperty("LeftTopX")
            private Integer leftTopX;
            @JsonProperty("LeftTopY")
            private Integer leftTopY;
            @JsonProperty("RightBtmX")
            private Integer rightBtmX;
            @JsonProperty("RightBtmY")
            private Integer rightBtmY;
            @JsonProperty("MarkTime")
            private String markTime;
            @JsonProperty("AppearTime")
            private String appearTime;
            @JsonProperty("DisappearTime")
            private String disappearTime;
            @JsonProperty("SubImageList")
            private SubImageListDTO subImageList;
        }
    }
}
